import axios from "@/libs/api.request"
let baseUrl = "http://192.168.1.68:18084"
export const getAreaList = (data) => {
    return axios.request({
        url: baseUrl + "/jxc/county/get_page",
        params: data,
        method: "get"
    });
}


/**
 *  @title 区域销售
 *  @methods get
 * 
 */

export const getShopList = (data) => {
    return axios.request({
        url: baseUrl + "/jxc/order/get_store",
        params: data,
        method: "get"
    });
}


/**
 *  @title 单品销量
 * 
 */

export const getSingleSaleList = (data) => {
    return axios.request({
        url: baseUrl + "/jxc/goods_sale",
        params: data,
        method: "get"
    });
}

/**
 *  @title 销售单
 * 
 */
export const getSaleOrderList = (data) => {
    return axios.request({
        url: baseUrl + "/jxc/order/get_page",
        params: data,
        method: "get"
    });
}
